[PATCH] 64-session-id.patch
session_id is an opaque pointer, so should be wider on 64 bit platforms.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
static int xcs_ctrl_fd = -1; /* control connection to the xcs server. */
static int xcs_data_fd = -1; /* data connection to the xcs server. */
-static u32 xcs_session_id = 0;
+static unsigned long xcs_session_id = 0;
static int xcs_ctrl_send(xcs_msg_t *msg);
static int xcs_ctrl_read(xcs_msg_t *msg);
#define TYPE_VIRQ 0xfffe
typedef struct {
- u32 session_id;
+ unsigned long session_id;
} xcs_connect_msg_t;
typedef struct {